import { BehaviorSubject } from 'rxjs/BehaviorSubject';

import { Component, OnInit, ViewChild, TemplateRef } from '@angular/core';

import { BsModalService } from 'ngx-bootstrap/modal';
import { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';

@Component({
  selector: 'app-root',
  template: `
  <router-outlet></router-outlet>
  `
  //   <h1 routerLink="/">Angular Router</h1>
  // <!-- 意思是：当用户点击此链接时，在路由出口popup中显示与compose路由相关联的组件。 -->
  // <a [routerLink]="[{ outlets: { popup: ['compose'] } }]">发弹出框.</a>
  //   <router-outlet name="popup"></router-outlet>
})
export class AppComponent {
  title = 'app';
}
